package com.dlx.model.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dlx.model.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author nglon
 * @since 2021-11-16
 */
@Getter
@Setter
@TableName("recharge_order_info")
@ApiModel(value = "RechargeOrderInfo对象", description = "")
public class RechargeOrderInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("充值人编号")
    @TableField("recharger_id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long rechargerId;

    @ApiModelProperty("被充值人编号")
    @TableField("recharged_id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long rechargedId;

    @ApiModelProperty("充值金额")
    @TableField("recharge_amount")
    private BigDecimal rechargeAmount;

    @ApiModelProperty("订单状态")
    @TableField("status")
    private Integer status;


}
